.source-list-modal {


  .ant-drawer-body {
    padding: 0;
  }

  .ant-tabs {
    padding: 0 8px;
  }
}

.source-list-modal-header {
  width: 100%;

  .header-content {
    display: flex;
    align-items: flex-start;
    gap: 12px;

    .header-icon {
      flex-shrink: 0;
      font-size: 20px;
      margin-top: 2px;
      color: var(--color-text-2);
    }

    .header-text {
      flex: 1;
      min-width: 0;

      .human-message {
        font-size: 14px;
        font-weight: 500;
        color: var(--color-text-1);
        line-height: 22px;
        margin-bottom: 4px;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
      }

      .source-count {
        font-size: 12px;
        color: var(--color-text-3);
      }
    }
  }

  .source-list-modal-header-title-message {
    font-size: 14px;
    font-weight: 400;
    color: var(--color-text-3);
  }
}

.source-list-modal-tabs {
  height: 100%;
  overflow-y: auto;
}

.source-list-modal-web-search {
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;

  // 搜索结果区域
  .search-results {
    flex: 1;
    overflow-y: auto;
    padding: 0;
    margin-top: 0;
    width: 100%;
    max-width: 100%;

    .search-results-content {
      padding-bottom: 72px;

      h3 {
        margin: 16px 0;
        position: sticky;
        top: 0;
        background: var(--color-bg-1);
        padding: 8px 0;
        z-index: 1;
      }
    }
  }
}

// 调整 Tabs 容器高度
.arco-tabs {
  height: 100%;

  .arco-tabs-content {
    height: calc(100% - 48px);

    .arco-tabs-content-item {
      height: 100%;
    }
  }
}
